package cate.common.table.activity.throne;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("选拔赛结算奖励")
public class TBTrialSettleRwdRow extends ERow {

    @NoteField("积分下限")
    public int pointMin;

    @NoteField("积分上限")
    public int pointMax;

    @NoteField("等级组")
    public int group;

    @NoteField("奖励")
    public String rwdStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.pointMin = xrw.getInteger("积分下限", 0);
        this.pointMax = xrw.getInteger("积分上限", 0);
        this.group = xrw.getInteger("等级组", 0);
        this.rwdStr = xrw.getString("奖励");
    }
}
